HCaptcha\Main B

Total Complexity 79
Dependencies 114
Dependents 6
Total lines 1,329
Lines of code 908
Logical lines of code 170
Comment lines 232
Methods 24
Properties 7

Methods 24

Method Rating Maintainability Complexity Lines of code
load_modules()
D
15
9 506
print_inline_styles()
A
40 4 91
is_elementor_pro_edit_page()
A
55 8 18
print_footer_scripts()
S
47 6 36
plugin_or_theme_active()
S
56 7 20
get_api_src()
S
50 6 28
csp_headers()
S
50 6 27
activate_hcaptcha()
S
62 6 10
init_hooks()
S
48 2 35
whitelist_ip()
S
52 2 31
init()
S
63 3 11
parse_csp()
S
62 2 11
login_head()
S
61 1 22
get_api_url()
S
69 2 6
merge_csp()
S
63 2 10
get_verify_url()
S
69 2 6
get_check_site_config_url()
S
69 2 6
prefetch_hcaptcha_dns()
S
69 2 7
declare_wc_compatibility()
S
72 2 5
force_https()
S
71 1 5
settings()
S
82 1 3
load()
S
80 1 3
get()
S
79 1 3
load_textdomain()
S
68 1 8